﻿<Window x:Class="Mengsk.ProxyDelivery.App.UI.Order.OrderCloseWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="关闭订单" Height="300" Width="400" SizeToContent="WidthAndHeight" WindowStartupLocation="CenterScreen" ResizeMode="CanMinimize" Loaded="Window_Loaded">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>

        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto"/>
            <ColumnDefinition Width="250"/>
        </Grid.ColumnDefinitions>
        <TextBlock Text="要关闭的商品:" Margin="3" VerticalAlignment="Center"/>
        <ComboBox Grid.Column="1" Name="cbbOrderGods" Margin="3" VerticalAlignment="Center" DisplayMemberPath="Title"/>
        <TextBlock Grid.Row="1" Grid.Column="0" Text="要关闭的数量:" Margin="3" VerticalAlignment="Center"/>
        <TextBox Grid.Row="1" Grid.Column="1" Text="1" Name="tbCount" Margin="3" VerticalAlignment="Center"/>
        <TextBlock Grid.Row="2" Grid.Column="0" Text="扣除面单费用:" Margin="3" VerticalAlignment="Center"/>
        <CheckBox Grid.Row="2" Grid.Column="1" Content="" Name="chkCutPaperMoney" Margin="3" VerticalAlignment="Center"/>
        <StackPanel Grid.Row="3" Grid.Column="1" Orientation="Horizontal" HorizontalAlignment="Right">
            <Button Name="btnOk" Content="确认" Margin="3" VerticalAlignment="Center" Width="60" Click="btnOk_Click"/>
        </StackPanel>
    </Grid>
</Window>
